/**
	@brief Call for handle command
**/
function HandleCallBack(Result) {
	document.getElementById('articles').innerHTML = Result.responseText;
}
function ShowError(Error) {
  alert("The metadata for MochiKit.Async could not be fetched :" + Error.number);
}

/**
	@breif Reload articles from server
	@param Args to send
**/
function ReloadArticles(Command, Args) {
	if(Command == 'delete' && confirm('Are you sure to delete.') == false) {
		return;
	}
	var Doc = doSimpleXMLHttpRequest(Path + Command, Args);
	Doc.addCallbacks(HandleCallBack, ShowError);
}